package com.maxjay.component.simplelist.model;

import com.maxjay.component.metadata.model.EntityField;

public class DefaultQueryListField implements QueryListField {
	
	private EntityField entityField;
	private boolean isVirtual = false;
	private boolean isDisplay = true;
	
	public DefaultQueryListField(EntityField entityField) {
		this.entityField = entityField;
	}

	@Override
	public EntityField getEntityField() {
		return entityField;
	}

	@Override
	public boolean isVirtual() {
		return isVirtual;
	}

	@Override
	public boolean isDisplay() {
		return isDisplay;
	}
	
	public void setIsVirtual(boolean isVirtual) {
		this.isVirtual = isVirtual;
	}
	
	public void setIsDisplay(boolean isDisplay) {
		this.isDisplay = isDisplay;
	}

}
